package com.ycd.mapper;

import com.ycd.domain.MovieTicket;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.ycd.dto.UserMovieDto;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author director
 * @since 2022-09-01
 */
public interface MovieTicketMapper extends BaseMapper<MovieTicket> {


    UserMovieDto queryUserMovieById(@Param("userId")Long userId,@Param("movieId") Long movieId);

    void saveUserMovie(UserMovieDto userMovieDto1);

    void updateUserMovie(UserMovieDto userMovieDto);

}
